from django.db import models

# Create your models here.
class Idc(models.Model):
    name = models.CharField("idc名称",max_length=100,blank=False,null=True,help_text="IDC名称")
    address = models.CharField("idc地址",max_length=200,default="",help_text="IDC地址")
    phone = models.CharField("idc联系电话",max_length=18,null=True,help_text="IDC电话")
    email = models.CharField("Idc的email",max_length=50,help_text="IDC邮箱")

    def __str__(self):
        return self.name

    class Meta:
        db_table = "idc"

